package com.sxkj.entity.mapper.sys;

import com.sxkj.entity.entity.sys.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {

    int deleteByPrimaryKey(String id);

    int insert(Role role);

    Role selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Role role);

    int updateByPrimaryKey(Role role);

    List<Role> searchListPage(@Param("name") String name);

    List<Role> findList();
}